@model OurWedding1.Models.HomePageParagraph

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>HomePageParagraph</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Position</div>
    <div class="display-field">@Model.Position</div>

    <div class="display-label">Content</div>
    <div class="display-field">@Model.Content</div>

    <div class="display-label">IsPublished</div>
    <div class="display-field">@Model.IsPublished</div>

    <div class="display-label">PublishedDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.PublishedDate)</div>

    <div class="display-label">ControllerName</div>
    <div class="display-field">@Model.ControllerName</div>

    <div class="display-label">ActionName</div>
    <div class="display-field">@Model.ActionName</div>

    <div class="display-label">Parameter</div>
    <div class="display-field">@Model.Parameter</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


